package com.yvtian.constants;

public class TokenConstants {

    public static final String JWT_KEY_USER_ACCOUNT = "account";
    public static final String JWT_KEY_NICKNAME = "nickname";
    //也是用户Id
    public static final String JWT_KEY_ID = "id";
    //存储在请求头
    public static final String JWT_USER_ID = "userId";

    public static final String TOKEN_VALUE = "authentication";
    public static final Long TOKEN_REFRESH_TIME = 900L;

    public static final String SECRET_KEY = "lw23RSA65^*(L43%";

}
